package org.example.api.goods.request;


import org.example.api.goods.constant.GoodsEvent;

import java.math.BigDecimal;

/**

 * @author lly
 */
public record GoodsConfirmSaleRequest(String identifier, Long goodsId, Integer quantity, String bizNo, String bizType,
                                      String userId,
                                      String name, String cover, BigDecimal purchasePrice) {

    public GoodsEvent eventType() {
        return GoodsEvent.CONFIRM_SALE;
    }
}
